<template>
    <div>
    
    </div>
    </template>
    
    <script>
    export default {
        methods:{
            setToken(){
                localStorage.setItem("token",this.$route.query.token)
                localStorage.setItem("userid",this.$route.query.userid)
                this.$router.push("/")
            }
        },
        mounted(){
            this.setToken()
        }
    
    }
    </script>
    
    <style>
    
    </style>